#ifndef SETTINGDIALOG_H
#define SETTINGDIALOG_H

#include <QDialog>
#include <QDebug>

namespace Ui {
    class SettingDialog;
}

class SettingDialog : public QDialog
{
    Q_OBJECT

public:
    explicit SettingDialog(QWidget *parent = 0);
    ~SettingDialog();

    QString getIpAddress();
    int getPortNumber();

    void setIpAddress(QString);
    void setPortNumber(int);

signals:
    void changeIpPortNumber(QString, int);

private slots:
    void on_saveButton_clicked();

private:
    Ui::SettingDialog *ui;
};

#endif // SETTINGDIALOG_H
